package com.oop.ch03;

/**
 * @author Administrator
 */
public class Dog extends Pet {
	//忠诚度
	private int loyal;
	
	public int getLoyal() {
		return loyal;
	}
	
	public void setLoyal(int loyal) {
		this.loyal = loyal;
	}
	
	
}
